package cn.lili.modules.member.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.member.client.ShortLinkClient;
import cn.lili.modules.message.entity.dos.ShortLink;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-17 9:24
 * @description: 短链接 业务Fallback
 */
public class ShortLinkFallback implements ShortLinkClient {
    @Override
    public List<ShortLink> queryShortLinks(ShortLink shortLink) {
        throw new ServiceException();
    }

    @Override
    public void save(ShortLink shortLink) {
        throw new ServiceException();
    }

    @Override
    public ShortLink getById(String id) {
        throw new ServiceException();
    }
}
